package com.daedalus.klasaObjekte.StudentDetyra;

public class Student {
	private String emri;
	private String mbiemri;
	private int viti;
	private String gjinia;
	
	public Student(String em, String mb, int v, String gj){
		setEmri(em);
		setMbiemri(mb);
		setViti(v);
		setGjinia(gj);
	}
	
	public void setEmri(String em){
		emri = em;
	}
	
	public void setMbiemri(String mb){
		mbiemri = mb;
	}
	
	public void setViti(int v){
		viti = ( v>=1 && v<=3) ? v:0;
	}
	
	public void setGjinia(String gj){
		gjinia=gj;
	}
	
	public String getemri(){
		return emri;
	}
	
	public String getMbiemri(){
		return mbiemri;
	}
	
	public int getViti(){
		return viti;
	}
	
	public String getGjinia(){
		return gjinia;
	}
}
